#pragma once
#include <map>

class Resource;
class ResourceManager
{
	static ResourceManager* self;

	std::map<std::string,Resource*> resources;

	ResourceManager(void);
	ResourceManager(const ResourceManager&){}
	ResourceManager& operator=(const ResourceManager&){return *self;}

public:
	~ResourceManager(void);

	static ResourceManager& GetReference();
	static ResourceManager* GetInstance();

	void AddResource();
};

